Vcenter Guest GlobalDNSSettings
The Vcenter Guest GlobalDNSSettings schema specifies a collection of global IP settings in the guest operating system. In Linux, DNS server settings are global. The settings can either be statically set or supplied by a DHCP server.
This schema was added in vSphere API 7.0.0.0.
{
"dns_suffix_list": [
"string"
],
"dns_servers": [
"string"
]
}
List of name resolution suffixes for the virtual network adapter. This list applies to both Windows and Linux guest customization. For Linux, this setting is global, whereas in Windows, this setting is listed on a per-adapter basis.
This property was added in vSphere API 7.0.0.0.
If missing or null
, no DNS suffixes are set.
List of DNS servers, for a virtual network adapter with a static IP address. If this list is empty, then the guest operating system is expected to use a DHCP server to get its DNS server settings. These settings configure the virtual machine to use the specified DNS servers. These DNS server settings are listed in the order of preference.
This property was added in vSphere API 7.0.0.0.
If missing or null
, no DNS servers are set.